# 类选择器
# 语法： 浏览器对象.find_element(by=By.CSS_SELECTOR,value="CSS表达式")
# 标签元素有class属性
# 写法： value=".class属性值"   当class中有多个值时需要用.连接
import time

from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()
driver.get("http://121.43.169.97:8848/pageA.html")

driver.find_element(by=By.CSS_SELECTOR, value=".telA").send_keys("13207827024")
driver.find_element(by=By.CSS_SELECTOR, value=".emailA.dzyxA").send_keys("132013@qq.com")

time.sleep(3)
driver.quit()
